/*******************************************************************************
 *
 * Copyright (c) 2001-2006 Primeton Technologies, Ltd.
 * All rights reserved.
 *
 * Created on Apr 11, 2008
 *******************************************************************************/
package com.primeton.eos.oss.model.newdataset;

import com.eos.data.sdo.IObjectFactory;
import com.primeton.ext.data.sdo.IllegalDataObjectTypeException;
import commonj.sdo.DataObject;
import commonj.sdo.Type;
import commonj.sdo.helper.DataFactory;
import commonj.sdo.helper.TypeHelper;

/**
 * <!-- begin-user-doc -->
 * A representation of the model object '<em><b>AfcRPartyRole</b></em>'.
 * <!-- end-user-doc -->
 *
 * <p>
 * The following features are supported:
 * <ul>
 *   <li>{@link com.primeton.eos.oss.model.newdataset.AfcRPartyRole#getId <em>Id</em> <desc>ID</desc>}</li>
 *   <li>{@link com.primeton.eos.oss.model.newdataset.AfcRPartyRole#getPartyType <em>PartyType</em> <desc>参与者类型</desc>}</li>
 *   <li>{@link com.primeton.eos.oss.model.newdataset.AfcRPartyRole#getPartyId <em>PartyId</em> <desc>参与者ID</desc>}</li>
 *   <li>{@link com.primeton.eos.oss.model.newdataset.AfcRPartyRole#getRoleType <em>RoleType</em> <desc>角色类型</desc>}</li>
 *   <li>{@link com.primeton.eos.oss.model.newdataset.AfcRPartyRole#getRoleId <em>RoleId</em> <desc>角色ID</desc>}</li>
 *   <li>{@link com.primeton.eos.oss.model.newdataset.AfcRPartyRole#getBusinessObjId <em>BusinessObjId</em> <desc>业务对象ID</desc>}</li>
 *   <li>{@link com.primeton.eos.oss.model.newdataset.AfcRPartyRole#getBusinessObjInstId <em>BusinessObjInstId</em> <desc>业务对象实例ID</desc>}</li>
 *   <li>{@link com.primeton.eos.oss.model.newdataset.AfcRPartyRole#getIsFixed <em>IsFixed</em> <desc>是否固定 0：否 1：是</desc>}</li>
 * </ul>
 * </p>
 *
 * @extends DataObject;
 */
public interface AfcRPartyRole extends DataObject {

	public String QNAME = "com.primeton.eos.oss.model.newdataset.AfcRPartyRole";

	public Type TYPE = TypeHelper.INSTANCE.getType("com.primeton.eos.oss.model.newdataset", "AfcRPartyRole");

	public static final IObjectFactory<AfcRPartyRole> FACTORY = new IObjectFactory<AfcRPartyRole>() {
		public AfcRPartyRole create() {
            Type type = TYPE;
			if(type == null) {
				type = TypeHelper.INSTANCE.getType("com.primeton.eos.oss.model.newdataset", "AfcRPartyRole");
			}
			if(type == null) {
				throw new IllegalDataObjectTypeException("cannot find entity type: " + QNAME);	
			}
			return (AfcRPartyRole) DataFactory.INSTANCE.create(type);
		}
	};

	/**
	 * Returns the value of the '<em><b>Id</b></em>' attribute.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Id</em>' attribute isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>Id</em>' attribute.
	 * @see #setId(java.lang.String)
	 */
	public String getId();

	/**
	 * Sets the value of the '{@link com.primeton.eos.oss.model.newdataset.AfcRPartyRole#getId <em>Id</em>}' attribute.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @param value the new value of the '<em>Id</em>' attribute.
	 * @see #getId()
	 */
	public void setId(String id);

	/**
	 * Returns the value of the '<em><b>PartyType</b></em>' attribute.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>PartyType</em>' attribute isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>PartyType</em>' attribute.
	 * @see #setPartyType(java.lang.String)
	 */
	public String getPartyType();

	/**
	 * Sets the value of the '{@link com.primeton.eos.oss.model.newdataset.AfcRPartyRole#getPartyType <em>PartyType</em>}' attribute.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @param value the new value of the '<em>PartyType</em>' attribute.
	 * @see #getPartyType()
	 */
	public void setPartyType(String partyType);

	/**
	 * Returns the value of the '<em><b>PartyId</b></em>' attribute.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>PartyId</em>' attribute isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>PartyId</em>' attribute.
	 * @see #setPartyId(java.lang.String)
	 */
	public String getPartyId();

	/**
	 * Sets the value of the '{@link com.primeton.eos.oss.model.newdataset.AfcRPartyRole#getPartyId <em>PartyId</em>}' attribute.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @param value the new value of the '<em>PartyId</em>' attribute.
	 * @see #getPartyId()
	 */
	public void setPartyId(String partyId);

	/**
	 * Returns the value of the '<em><b>RoleType</b></em>' attribute.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>RoleType</em>' attribute isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>RoleType</em>' attribute.
	 * @see #setRoleType(java.lang.String)
	 */
	public String getRoleType();

	/**
	 * Sets the value of the '{@link com.primeton.eos.oss.model.newdataset.AfcRPartyRole#getRoleType <em>RoleType</em>}' attribute.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @param value the new value of the '<em>RoleType</em>' attribute.
	 * @see #getRoleType()
	 */
	public void setRoleType(String roleType);

	/**
	 * Returns the value of the '<em><b>RoleId</b></em>' attribute.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>RoleId</em>' attribute isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>RoleId</em>' attribute.
	 * @see #setRoleId(java.lang.String)
	 */
	public String getRoleId();

	/**
	 * Sets the value of the '{@link com.primeton.eos.oss.model.newdataset.AfcRPartyRole#getRoleId <em>RoleId</em>}' attribute.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @param value the new value of the '<em>RoleId</em>' attribute.
	 * @see #getRoleId()
	 */
	public void setRoleId(String roleId);

	/**
	 * Returns the value of the '<em><b>BusinessObjId</b></em>' attribute.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>BusinessObjId</em>' attribute isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>BusinessObjId</em>' attribute.
	 * @see #setBusinessObjId(java.lang.String)
	 */
	public String getBusinessObjId();

	/**
	 * Sets the value of the '{@link com.primeton.eos.oss.model.newdataset.AfcRPartyRole#getBusinessObjId <em>BusinessObjId</em>}' attribute.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @param value the new value of the '<em>BusinessObjId</em>' attribute.
	 * @see #getBusinessObjId()
	 */
	public void setBusinessObjId(String businessObjId);

	/**
	 * Returns the value of the '<em><b>BusinessObjInstId</b></em>' attribute.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>BusinessObjInstId</em>' attribute isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>BusinessObjInstId</em>' attribute.
	 * @see #setBusinessObjInstId(java.lang.String)
	 */
	public String getBusinessObjInstId();

	/**
	 * Sets the value of the '{@link com.primeton.eos.oss.model.newdataset.AfcRPartyRole#getBusinessObjInstId <em>BusinessObjInstId</em>}' attribute.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @param value the new value of the '<em>BusinessObjInstId</em>' attribute.
	 * @see #getBusinessObjInstId()
	 */
	public void setBusinessObjInstId(String businessObjInstId);

	/**
	 * Returns the value of the '<em><b>IsFixed</b></em>' attribute.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>IsFixed</em>' attribute isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>IsFixed</em>' attribute.
	 * @see #setIsFixed(java.lang.String)
	 */
	public String getIsFixed();

	/**
	 * Sets the value of the '{@link com.primeton.eos.oss.model.newdataset.AfcRPartyRole#getIsFixed <em>IsFixed</em>}' attribute.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @param value the new value of the '<em>IsFixed</em>' attribute.
	 * @see #getIsFixed()
	 */
	public void setIsFixed(String isFixed);


}